package com.education;

import org.springframework.beans.BeansException;
import org.springframework.context.support.AbstractApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by zhangshijie on 2015/12/15.
 */
public class MonitoringRun {

	public static void main(String[] args) {
		try {
			AbstractApplicationContext context = new ClassPathXmlApplicationContext(new String[]{"classpath:spring/applicationContext.xml"});
			context.start();
		} catch (BeansException e) {
			e.printStackTrace();
		}
	}

}
